<?php
/**
 * created by.
 * User: EDZ
 * Date: 2020/10/10
 * TIME: 14:25
 */

namespace app\libaray\model\logger;

use think\Model;

class LoginLogModel extends Model{


    public $name = 'login_log';

    /**
     * 增加登录日志
     *
     * @param $data
     * @return bool
     * @author liuyifan
     * @date 2020-10-10 14:30
     */
    public static function createLog($data){
        return self::insert($data);
    }
}